﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using MINERP.COM;

namespace MINERP.MODEL.FoundationModel
{
    public class PaperRecords_Info
    {
        public int RecordId { get; set; }
        public int PaperId { get; set; }
        public int RecordTypeId { get; set; }
        public string RecordName { get; set; }
        public double Length { get; set; }
        public double Width { get; set; }
        public DateTime AddTime { get; set; }
        public int Status { get; set; }
        public string StatusName
        {
            get
            {
                string strStatusName = string.Empty;
                switch (Status)
                {
                    case (int)WasterPaperStatus.Sure:
                        strStatusName = "完成费纸确认";
                        break;
                    case (int)WasterPaperStatus.unSure:
                        strStatusName = "未费纸确认";
                        break;
                    default:
                        break;
                }
                return strStatusName;
            }
        }
    }
}
